<template>
  <a-modal
    :visible="open"
    title="资产出库"
    width="60%"
    @ok="onClose"
    @cancel="onClose"
  > 1 </a-modal>
</template>
<script lang="ts" setup>
import {
  ref,
  unref,
  computed,
  onMounted,
  reactive,
  watch,
  nextTick,
  defineProps,
  defineEmits
} from 'vue';
import type {FormInstance} from 'ant-design-vue';
import {message} from 'ant-design-vue';
import type {AddUserBo, AssetPageVo, FloorVo, PositionVo} from '#/api/common';
import {
  pageUserApi,
  addUserApi, delUserApi, listFloorApi, listPositionApi
} from '#/api';

import {useAccessStore} from '@vben/stores';

const props = defineProps({
  open: {
    type: Boolean,
    required: true,
    default: false,
  },
  clientId: {
    type: String,
    required: false,
  }
});
const emit = defineEmits(['close'])
const accessStore = useAccessStore();

const floorLoading = ref(false);
const positionLoading = ref(false);

const floorSource = ref<FloorVo[]>([]);
const positionSource = ref<PositionVo[]>([]);
const selectedRowKesys = ref<string[]>([])


const floorColumns = [
  {
    title: '楼层',
    dataIndex: 'floor',
    key: 'floor',
    width: 200,
    align: 'center',
  },
  {
    title: '操作',
    dataIndex: 'operation',
    key: 'operation',
    width: 100,
    align: 'center',
  },
];

const positionColumns = [
  {
    title: '库房',
    dataIndex: 'position',
    key: 'position',
    width: 200,
    align: 'center',
  },
  {
    title: '操作',
    dataIndex: 'operation',
    key: 'operation',
    width: 100,
    align: 'center',
  },
];
</script>
